package com.example.math;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class SplashScreenActivity extends Activity implements OnClickListener {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		findViewById(R.id.LinearLayout01).setOnClickListener(this);
	//	final int welcomeScreenDisplay = 3000;
/*		Thread welcomeThread = new Thread() {
				int wait = 0;
				
				@Override
				public void run() {
					try {
						super.run();
						while (wait < welcomeScreenDisplay) {
							sleep(100);
							wait += 100;
						}
					} catch (Exception e) {
							System.out.println("EXc=" + e);
						} finally {
							startActivity(new Intent(SplashScreenActivity.this,
									FirstScreen.class));
								finish();
						}
				}

		};
		welcomeThread.start();*/
	}

	@Override
	public void onClick(View v) {
		startActivity(new Intent(SplashScreenActivity.this,
				FirstScreen.class));
			finish();		
	}




	

	

}